/*
 * Created by IntelliJ IDEA.
 * User: rousseau
 * Date: Apr 22, 2002
 * Time: 10:32:58 PM
 * To change template for new class use 
 * Code Style | Class Templates options (Tools | IDE Options).
 */
package org.jfract.util;

import java.io.Serializable;

/**
 * This class is usefull to define the default location
 */
public class Location
    implements Serializable
{
  /**
   * The zoom value
   */
  public float zoom;

  /**
   * the x value
   */
  public float x;

  /**
   * the y value
   */
  public float y;

  /**
   * build a new Location
   */
  public Location(float x, float y, float zoom)
  {
    this.x = x;
    this.y = y;
    this.zoom = zoom;
  }

  public String toString()
  {
    return new String("zoom:" + zoom + " x: " + x + " y: " + y);
  }

}
